
export interface Company {
    id: number;
    companyName: string;
    contactPerson: string;
    contactPhone: string;
    address: string;
    createTime: Date;
}

export interface Loan {
    id: number;
    companyName: string;
    bankName: string;
    loanAmount: number;
    periodRate: number; 
    rate: number; 
    dueDate: Date; 
    interestPaymentDate: string;
    createTime: Date;
}

export interface Finance {
    id: number;
    inAmount: number;
    outAmount: number;
    balance: number;
    flowDate: Date;
    companyName: string;
    updateTime: Date;

}

export interface BusinessProject {
    id: number;
    projectName: string;
    partnerCompany: string;
    startDate: Date;
    endDate: Date;
    profitRatio: number;
    hasGuarantee: boolean;
    selfProject: boolean;

    guaranteeAmount: number;
    createTime: Date;
    updateTime: Date;
}


export interface UtilityBill {
    id: number;
    companyName: string;
    waterFee: number;
    electricityFee: number;
    totalFee: number;
    paymentDate: Date;
    createTime: Date;
    updateTime: Date;
}

export interface UtilityRecord {
    id: number;
    utilityBillId: number;
    waterFeePayment: number;
    electricityFeePayment: number;
    totalPayment: number;
    paymentDate: Date;
    createTime: Date;
    updateTime: Date;
}
